import { Component, h } from 'vue'
import { NIcon } from "naive-ui";

export function renderIcon(icon: Component): Component {
    return () => h(NIcon, null, { default: () => h(icon) });
}